package com.example.LibrarySystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.LibrarySystem.pojo.User;
import com.example.LibrarySystem.response.Result;

import java.util.List;
import java.util.Map;

public interface UserService {

    public User login(String account, String password);

    public int insert(User user);

    public int update(User user);

    public User getUserById(Integer id);

    public IPage<User> getUserByAll(Map<String, String> data);
}
